# @property最简单用法
class Employee:

    @property
    def salary(self):
        print('salary run...')
        return 10000

e = Employee()
print(e.salary)
